<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>绝对定位和遮罩</title>
  <link rel="stylesheet" href="../css/common.css">

  <link rel="stylesheet" href="css/h01.css">
</head>

<body>

  <!-- 参照组 -->
  <div class="mybox">
    参照组
  </div>

  <!-- 绝对定位 -->
  <div class="mybox box1">
    绝对定位1
  </div>

  <!-- 受容器约束的绝对定位 -->
  <div class="box2">

    <div>111</div>
    <div>233</div>
    <div>黑暗骑士</div>

  </div>


  <div class="box3">

    <div>
      正常显示内容
    </div>

    <div class="zz">遮罩</div>

  </div>


  <div class="box4">
    黑暗骑士

    <div class="yuan">
      99
    </div>

  </div>



</body>

</html>